import time
import datetime
import re

print(time.time())

start = time.clock()

for i in range(10):
    print(i ** 2)
    # time.sleep(1)   #休眠1秒
end = time.clock()
print(end - start)

print(time.gmtime())
print(time.localtime())

t = datetime.datetime(2019, 11, 30, 10, 22, 10, 00)

m = re.search("[0-9]", "fdsk21f2813928djks");
print(m.group(0))
